import request from './request'
/**
 * 
 * @param {*} id 
 * @param {*} params 
 * @returns 
 * 获取视觉和称重商家列表
 */
export const businessList = (params) => {
    return request({
        url: '/getBusinessList',
        method: 'get',
        params
    })
}

/**
 * 
 * @param {*} params 
 * @returns 
 * 设置商家的提现费率
 */
export const setWithdrawalRate = (params) => {
    return request({
        url: '/setWithdrawalRate',
        method: 'post',
        params
    })
}

